%% -*- mode: erlang -*-
{erl_opts, [debug_info]}.

{post_hooks, []}.

{deps, [{prometheus_httpd, "2.1.11"}]}.
{shell, [{apps, [prometheus_cowboy]}]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{cover_excl_mods, [
                  ]}.

{coveralls_coverdata    , "_build/test/cover/eunit.coverdata"}.
{coveralls_service_name , "travis-ci"}.

{xref_extra_paths,[]}.
{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
              deprecated_function_calls,deprecated_functions]}.

{profiles, [{docs, [{deps, [{edown, "0.8.1"}]},
                    {edoc_opts,
                     [{doclet, edown_doclet},
                      {dir, "doc"},
                      {subpackages, true},
                      {overview, "doc/overview.md"},
                      {top_level_readme,
                       {"./README.md",
                        "https://github.com/deadtrickster/prometheus-cowboy"}}]}]},
            {test, [{plugins, [{coveralls, "1.4.0"},
                               {rebar3_elvis_plugin, "0.0.4"}]},
                    {erl_opts, [nowarn_export_all]}]},
            {cowboy1, [{ct_opts, [{dir, "./test/cowboy1"}]},
                       {deps, [{cowboy, {git, "https://github.com/ninenines/cowboy.git", {tag, "1.1.2"}}}]}]},
            {cowboy2, [{ct_opts, [{dir, "./test/cowboy2"}]},
                       {deps, [{cowboy, {git, "https://github.com/ninenines/cowboy.git", {tag, "master"}}}]}]},
            {benchmark, [{src_dirs, ["src", "benchmark"]},
                         {deps, [{'erlang-color',
                                  {git, "https://github.com/julianduque/erlang-color",
                                   {branch, "master"}}}]}]}]}.

{plugins, [{rebar3_archive_plugin, "0.0.1"}]}.
